﻿package org.openChart.meta 
{
	import org.openChart.meta.data.GroupSet;
	
	/**
	 * ...
	 * @author Chongyuan
	 */
	public class BaseChart extends BaseObject
	{
		private var chartType_:String;
		private var groupSet_:GroupSet;
		private var title_:TextLabel;
		
		public function BaseChart( style:Style ) 
		{
			super(style);
		}
		
		public function set chartType( chartType_:String ):void
		{
			this.chartType_ = chartType_;
		}
		
		public function get chartType():String
		{
			return chartType_;
		}
		
		public function set groupSet( groupSet_:GroupSet ):void
		{
			this.groupSet_ = groupSet_;
		}
		
		public function get groupSet():GroupSet
		{
			return groupSet_;
		}
		
		public function set title( title_:TextLabel ):void
		{
			this.title_ = title_;
		}
		
		public function get title():TextLabel
		{
			return this.title_;
		}
		
		public function toString():String
		{
			var str:String = "";
			str += "object: BaseChart ";
			str += "[chartType = " + chartType +"]";
			str += "[title = " + title + "]\n";
			str += "[groupSet = " + groupSet + "]\n";
			return str;
		}
	}
	
}